<template>
    <view class="container">
        <mp-html :content="nodes"></mp-html>
    </view>
</template>

<script>
import { getAgreement } from '@/api/modules/common';
export default {
    data() {
        return {
            nodes: ''
        };
    },
    methods: {
        async getAgreement() {
            const { data } = await getAgreement({
                type: 'aboutus_agreement'
            });
            this.nodes = data.content;
        }
    },
    onLoad() {
        this.getAgreement();
    }
};
</script>

<style>
.container {
    padding: 20rpx 30rpx;
}
</style>
